package com.ocom.common.request.human;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.entity.human.EntityPersonnelInfo;
import com.ocom.common.entity.human.EntityPersonnelPalmprint;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

@Data
public class PersonQueryVo {

    @JsonProperty("pId")
    private Integer pId;
    @JsonProperty("comId")
    private Long comId;
    @JsonProperty("pCode")
    private String pCode;
    @JsonProperty("pName")
    private String pName;

    @TableField(exist = false)
    @JsonProperty("palmList")
    private List<EntityPersonnelPalmprint> palmList = new ArrayList<>();

    //卡号
    @TableField(exist = false)
    @JsonProperty("deptName")
    private String deptName = "" ;


}
